import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/info'
import product from '@/components/product'
import cart from '@/components/cart'

Vue.use(Router)

export default new Router({
    routes: [{
            path: '/cart',
            name: 'cart',
            component: cart
        },
        {
            path: '/product',
            name: 'product',
            component: product
        },
    ]
})